libxl: remove device model path in libxl__device_model_destroy
authorWei Liu <wei.liu2@citrix.com>
Fri, 20 Mar 2015 16:19:10 +0000 (16:19 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 24 Mar 2015 15:46:04 +0000 (15:46 +0000)
commite2155b6b0c0cc16f4fa85cc52ef58f7a4f6af5ec
treeee77c5f9cd43dd207d4011c220d82d4ba67322de
parent6dd94cf1b1e0cd1c7092c41b1bc286309563f474
libxl: remove device model path in libxl__device_model_destroy

... and not devices_destroy_cb because it is the right place to clean up
device model stuff.

And the path should use LIBXL_TOOLSTACK_DOMID instead of hardcoded 0.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/libxl.c
tools/libxl/libxl_dm.c